﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000995 RID: 2453
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JCDCKOAPGEE : IMessage<JCDCKOAPGEE>, IMessage, IEquatable<JCDCKOAPGEE>, IDeepCloneable<JCDCKOAPGEE>, IBufferMessage
	{
		// Token: 0x17001F10 RID: 7952
		// (get) Token: 0x06006E1D RID: 28189 RVA: 0x00126F3D File Offset: 0x0012513D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JCDCKOAPGEE> Parser
		{
			get
			{
				return JCDCKOAPGEE._parser;
			}
		}

		// Token: 0x17001F11 RID: 7953
		// (get) Token: 0x06006E1E RID: 28190 RVA: 0x00126F44 File Offset: 0x00125144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JCDCKOAPGEEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F12 RID: 7954
		// (get) Token: 0x06006E1F RID: 28191 RVA: 0x00126F56 File Offset: 0x00125156
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JCDCKOAPGEE.Descriptor;
			}
		}

		// Token: 0x06006E20 RID: 28192 RVA: 0x00126F5D File Offset: 0x0012515D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JCDCKOAPGEE()
		{
		}

		// Token: 0x06006E21 RID: 28193 RVA: 0x00126F70 File Offset: 0x00125170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JCDCKOAPGEE(JCDCKOAPGEE other) : this()
		{
			this.aetherSkillList_ = other.aetherSkillList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006E22 RID: 28194 RVA: 0x00126F9A File Offset: 0x0012519A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JCDCKOAPGEE Clone()
		{
			return new JCDCKOAPGEE(this);
		}

		// Token: 0x17001F13 RID: 7955
		// (get) Token: 0x06006E23 RID: 28195 RVA: 0x00126FA2 File Offset: 0x001251A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TrainPartyGameSkill> AetherSkillList
		{
			get
			{
				return this.aetherSkillList_;
			}
		}

		// Token: 0x06006E24 RID: 28196 RVA: 0x00126FAA File Offset: 0x001251AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JCDCKOAPGEE);
		}

		// Token: 0x06006E25 RID: 28197 RVA: 0x00126FB8 File Offset: 0x001251B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JCDCKOAPGEE other)
		{
			return other != null && (other == this || (this.aetherSkillList_.Equals(other.aetherSkillList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006E26 RID: 28198 RVA: 0x00126FEC File Offset: 0x001251EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aetherSkillList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006E27 RID: 28199 RVA: 0x00127020 File Offset: 0x00125220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006E28 RID: 28200 RVA: 0x00127028 File Offset: 0x00125228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006E29 RID: 28201 RVA: 0x00127031 File Offset: 0x00125231
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aetherSkillList_.WriteTo(ref output, JCDCKOAPGEE._repeated_aetherSkillList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006E2A RID: 28202 RVA: 0x00127058 File Offset: 0x00125258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aetherSkillList_.CalculateSize(JCDCKOAPGEE._repeated_aetherSkillList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006E2B RID: 28203 RVA: 0x00127091 File Offset: 0x00125291
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JCDCKOAPGEE other)
		{
			if (other == null)
			{
				return;
			}
			this.aetherSkillList_.Add(other.aetherSkillList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006E2C RID: 28204 RVA: 0x001270BF File Offset: 0x001252BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006E2D RID: 28205 RVA: 0x001270C8 File Offset: 0x001252C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.aetherSkillList_.AddEntriesFrom(ref input, JCDCKOAPGEE._repeated_aetherSkillList_codec);
				}
			}
		}

		// Token: 0x040029ED RID: 10733
		private static readonly MessageParser<JCDCKOAPGEE> _parser = new MessageParser<JCDCKOAPGEE>(() => new JCDCKOAPGEE());

		// Token: 0x040029EE RID: 10734
		private UnknownFieldSet _unknownFields;

		// Token: 0x040029EF RID: 10735
		public const int AetherSkillListFieldNumber = 9;

		// Token: 0x040029F0 RID: 10736
		private static readonly FieldCodec<TrainPartyGameSkill> _repeated_aetherSkillList_codec = FieldCodec.ForMessage<TrainPartyGameSkill>(74U, TrainPartyGameSkill.Parser);

		// Token: 0x040029F1 RID: 10737
		private readonly RepeatedField<TrainPartyGameSkill> aetherSkillList_ = new RepeatedField<TrainPartyGameSkill>();
	}
}
